package edu.gu.hajo.gcl;

import edu.gu.hajo.gcl.interp.impl.Interpreter;
import edu.gu.hajo.gcl.script.Script;
import edu.gu.hajo.gcl.script.ScriptFileReader;

/**
 * Application entry point.
 * 
 * @author hajo
 * 
 */
public class Main {

	public static void main(String[] args) {
		String content = new ScriptFileReader(args[0]).getContent();
		Script script = new Script(content);
		new Interpreter(script).eval();
	}
}
